projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58caa5c
)
(widget-image-insert): Don't add a mouse-face.
author
Chong Yidong
<cyd@stupidchicken.com>
Mon, 17 Nov 2008 18:37:47 +0000
(18:37 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Mon, 17 Nov 2008 18:37:47 +0000
(18:37 +0000)
lisp/wid-edit.el
patch
|
blob
|
history
diff --git
a/lisp/wid-edit.el
b/lisp/wid-edit.el
index 202ee215b148b3bedcd058d6db509f2040603501..c0135f842b3fb38484d3fb74a879c308feeb4cb6 100644
(file)
--- a/
lisp/wid-edit.el
+++ b/
lisp/wid-edit.el
@@
-662,11
+662,7
@@
button is pressed or inactive, respectively. These are currently ignored."
(if (and (display-graphic-p)
(setq image (widget-image-find image)))
(progn (widget-put widget :suppress-face t)
- (insert-image image
- (propertize
- ;; Use a `list' so it's unique and won't get
- ;; accidentally merged with neighbouring images.
- tag 'mouse-face (list widget-button-pressed-face))))
+ (insert-image image tag))
(insert tag)))
(defun widget-move-and-invoke (event)